package com.mes.biz.service;

import com.mes.common.core.service.BaseService;
import com.mes.biz.domain.BizProcessUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 工序人员Service接口
 * @author hwg
 * @email hwg
 * @date 2023-04-27
 */
public interface BizProcessUserService extends BaseService<BizProcessUser> {

    /**
     * 批量删除工序人员
     * @param ids 需要删除的工序人员ID集合
     * @return 结果
     */
    public int deleteBizProcessUserByIds(String[] ids);

    /**
     * 批量新增工序人员
     * @param bizProcessUserList
     * @return
     */
    boolean saveBatch(List<BizProcessUser> bizProcessUserList);


    public boolean findInfoByUserId(String userId, String processId);

    List<BizProcessUser> getListByUserId(String userId);
}
